<%@ page language="java" import="java.util.*" contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!-- 调用后台地址 117.29.164.126-->
<!-- 调用后台地址 http://web.gad5119.com.cn/-->
<c:set var="linkPath" value="http://web.gad5119.com.cn/"></c:set>
<%--<c:set var="linkPath" value="http://127.0.0.1:10831/"></c:set>--%>
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0"/>
<link rel="stylesheet" href="<%=request.getContextPath()%>/css/app.css" type="text/css"></link>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/jquery-1.9.1.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/amazeui.min.js"></script>
<script type="text/javascript">
    var linkPath = '${linkPath}';
    var user = localStorage.getItem("user");
    var userId = sessionStorage.getItem("userId");
    var token = sessionStorage.getItem("token");
    var orgId = sessionStorage.getItem("orgId");
    //关闭微信浏览器右上角分享按钮
    document.addEventListener('WeixinJSBridgeReady', function onBridgeReady() {
        WeixinJSBridge.call('hideToolbar');
        WeixinJSBridge.call('hideOptionMenu');
    });

    $(window).resize(function(){
        var img_w = $(window).width();
        var sz = 100;
        if(img_w<375){
            sz = (img_w-320)*0.067+85.333;
        }else if(img_w>=375 && img_w<540){
            sz = (img_w-375)*0.267+100;
        }else if(img_w>=540){
            sz = 144;
        }
        $("html").css('font-size',sz+"px");
    });

    /*自动消失弹框*/
    function myAlert(msg){
        $(".custom-alert").show();
        $("#czt-msg-content").html(msg);
        setTimeout(function(){
            $(".custom-alert").fadeOut(1000);
        },2000);
    }

</script>
<div class="custom-alert">
	<div class="content" id="czt-msg-content"></div>
</div>
